%% -*- erlang -*-
{erl_first_files,
 [
  "EXOMETER-MIB.mib"
 ]}.

{mandatory_deps, [exometer_core]}.
{configurations, [{minimal, []},
		  {basic, []},
		  {amqp , [amqp_client, jiffy]},
		  {collectd, [exometer_collectd]},
		  {full , [{basic}, netlink, {amqp}, {collectd}]}]}.
{deps,
 [
  {exometer_core, ".*", {git, "git://github.com/Feuerlabs/exometer_core.git",
			 {tag, "1.4"}}},
  {exometer_collectd, ".*", {git, "git://github.com/Feuerlabs/exometer_collectd.git",
			     {tag, "1.0.1"}}},
  {netlink, ".*", {git, "git://github.com/Feuerlabs/netlink.git", "aab67b0"}},
  {amqp_client, ".*", {git, "git://github.com/jbrisbin/amqp_client.git", {tag, "rabbitmq-3.3.5"}}},
  {jiffy, ".*", {git, "git://github.com/davisp/jiffy.git", "0.13.3"}}
 ]}.

{erl_opts,
 [
  debug_info,
  fail_on_warning,
  {parse_transform, lager_transform},
  {verbosity, trace}
 ]}.

{sub_dirs, ["src"]}.

{edoc_opts,
 [
  {doclet, edown_doclet},
  {app_default, "http://www.erlang.org/doc/man"},
  {doc_path, ["http://raw.github.com/Feuerlabs/exometer_core/master/doc"]},
  {top_level_readme,
   {"./README.md",
    "https://github.com/Feuerlabs/exometer", "master"}}
 ]}.

{xref_checks,
 [
  undefined_function_calls,
  undefined_functions,
  locals_not_used,
  deprecated_functions_calls,
  deprecated_functions
 ]}.

{cover_print_enabled, true}.

{clean_files, ["test/app1/ebin/*.beam"]}.

{ct_use_short_names, true}.
